﻿#include "pch.h"
#include "hiddecodeexception.h"

HIDDecodeException::HIDDecodeException(int errorCode, std::string errMsg) {
  this->errorCode = errorCode;
  this->errMsg = errMsg;
}

const char *HIDDecodeException::what() const noexcept { return errMsg.c_str(); }
